/**
 * Author: Dmitry Ustimov
 * Date: 5/22/13
 * Time: 2:17 PM
 */

package com.gmail.dmitryustimov.ms.java7.visitor.classic.work.demo.structure1_3_9;

public class ConcreteElementVisitor implements ElementVisitor {

    private void printElement(Element element) {
    }

    @Override
    public void visit(ElementRoot element) {
        printElement(element);
    }

    @Override
    public void visit(ElementA element) {
        printElement(element);
    }

    @Override
    public void visit(ElementB element) {
        printElement(element);
    }

    @Override
    public void visit(ElementC element) {
        printElement(element);
    }

    @Override
    public void visit(ElementA1 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementA2 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementA3 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementB1 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementB2 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementB3 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementC1 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementC2 element) {
        printElement(element);
    }

    @Override
    public void visit(ElementC3 element) {
        printElement(element);
    }
}
